// 引入LeanCloud存储
var AV = require('leancloud-storage');

// 分组模型
class TableType extends AV.Object{
    // 名称
    get name(){
        return this.get('name')
    }
    set name(value){
        this.set('name',value)
    }
    get id(){
        return this.get('id')
    }
    set id(value){
        this.set('id',value)
    }
    get shopId(){
        return this.get('shopId')
    }
    set shopId(value){
        this.set('shopId',value)
    }
    get maxNum(){
        return this.get('maxNum')
    }
    set maxNum(value){
        this.set('maxNum',value)
    }
    get minNum(){
        return this.get('minNum')
    }
    set minNum(value){
        this.set('minNum',value)
    }
}
AV.Object.register(TableType,'TableType');
export default TableType;